﻿using SIMS.SqlSugarWebApi.Models;

namespace SIMS.SqlSugarWebApi.ServiceInterface
{
    public interface IBaseService<T> : IService
    {
        Task<T> GetEntity(int id);
        Task<int> AddEntity(T entity);
        Task<int> UpdateEntity(T entity);
        Task<int> DeleteEntity(int id);
    }
}
